<?php
	require_once($_SERVER['DOCUMENT_ROOT'].'/includes/site_defaults.php');
	if (!isset($_SESSION)) {
		session_start();
	}

	LogoutUser();
	if (isset($_COOKIE['id'])) {
		setcookie("id", "", time() - 3600, "/");
	}
	header(sprintf("Location: %s", 'index.php'));

?>